package com.xxxy.blockhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

/**
 * ClassName: MonitorBlockHandler
 * Package:
 * Description:
 *
 * @Author 软件232班——欧阳昊淼
 * @Create 2025/9/22 16:55
 * @Version 17.0.2
 */

@Component
public class MonitorBlockHandler  {
    public static String helloBlockHandler(BlockException a){
        System.out.println(a.toString());
        return "系统繁忙，请稍后重试";
    }
}
